import * as ax from './request';

export const url = ax.url + '/op'
// export const url = ax.url

export const getMemberLevelConfigList = (params) => {
    return ax.g(url + '/member/level/configs', params)
}

export const getMemberLevelConfig = (params) => {
    return ax.g(url + '/member/level/configs/' + params.id, params)
}

export const createMemberLevelConfig = (params) => {
    return ax.p(url + '/member/level/configs', params)
}

export const updateMemberLevelConfig = (params) => {
    return ax.u(url + '/member/level/configs/' + params.id, params)
}

export const delMemberLevelConfig = (params) => {
    return ax.d(url + '/member/level/configs/' + params.id, params)
}

export const getMemberRechargeRuleListDictVOs = (params) => {
  return ax.g(url + '/member/level/configs/dict', params)
}
